from django.db import models
from hosting.services.models import PackService

class Account(models.Model):
    comment = models.CharField(max_length=50)
    pack_service = models.ForeignKey(PackService)

    def __unicode__(self):
        self.id
    
    class Meta:
        ordering = ["id"]

class User(models.Model):
    name = models.CharField(max_length=50)
    password = models.CharField(max_length=50)
    status = models.BooleanField()
    
    def __unicode__(self):
        self.name
    
    class Meta:
        ordering = ["id"]
